//766. 托普利茨矩阵

#include <stdbool.h>
bool isToeplitzMatrix(int** matrix, int matrixSize, int* matrixColSize){
    int m = matrixSize, n = matrixColSize[0];
    for(int i = 1; i < m; i++)
    {
        for(int j = 1; j < n; j++)
        {
            if(matrix[i][j] != matrix[i-1][j-1])
                return false;
        }
    }
    return true;
}